<template>
    <div>
        <span>{{aa}}</span>
        <button @click="jia"> +</button>
        <button @click="jian"> -</button>
        <button @click="jiaplus"> + plus</button>
    </div>
</template>

<script>
  import {mapState, mapMutations, mapGetters, mapActions} from 'vuex'

  export default {
    name: "storeTest",
    computed: {
      ...mapState(['aa']),
      ...mapGetters(['aa'])
    },
    methods: {
      ...mapMutations(['jia', 'jian']),
      ...mapActions(['jiaplus'])
    }
  }
</script>

<style scoped>

</style>
